package com.wut.clock.common.constant;

/**
 * @Author: yuwei
 * @Date: 2022/6/1 14:36
 * @Description:
 */

public class CommentConstant {

    public enum Status {

        CHECKING("审核中",1),
        AVAILABLE("正常",0);

        private final String desc;
        private final Integer code;

        Status(String desc, Integer code){
            this.desc = desc;
            this.code = code;
        }

        public String getDesc() {
            return desc;
        }

        public Integer getCode() {
            return code;
        }
    }

    public enum TopicType {

        COMMENT("评论",1),
        ARTICLE("文章",0);

        private final String desc;
        private final Integer code;

        TopicType(String desc, Integer code){
            this.desc = desc;
            this.code = code;
        }

        public String getDesc() {
            return desc;
        }

        public Integer getCode() {
            return code;
        }
    }
}
